/**
 * @Author: Bobby
 * @Date: 2022-02-15 13:14:17
 * @LastEditTime: 2022-03-01 10:18:40
 * @LastEditors: Bobby
 * @Description:
 * @FilePath: \wms-v2\src\ve\common\components\baseComs\form\uiSwitch.js
 * @CIMC-V2
 */
import { exCustomValue, exRadioGroup, exSwitch, exInput } from '@ve/common/components/extension'

export default {
  VERSION: '20220408',
  type: 'uiTableSwitch',
  extension: {
    modelStyle: exRadioGroup('组件风格', 'capsule', [
      {
        value: 'capsule',
        label: '胶囊',
      },
      {
        value: 'rectangle',
        label: '矩形框',
      },
    ]),
    activeValue: exCustomValue('打开值', 'Y'),
    activeText: exInput('打开描述', ''),
    inactiveValue: exCustomValue('关闭值', 'N'),
    inactiveText: exInput('关闭描述', ''),
    defaultValue: exSwitch('默认状态', false),
  },
}
